﻿using HOPU.OnlineSchool.Application.FileUploads.Dtos;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HOPU.OnlineSchool.Application.FileUploads.Services
{
    public interface IFileService
    {
        /// <summary>
        /// 头像上传
        /// </summary>
        /// <param name="file"></param>
        /// <param name="host"></param>
        /// <returns></returns>
       OssUploadOutput Upload(IFormFile file, string host);
     }
}
